#ifndef __BLE_H__
#define __BLE_H__

#include "main.h"

enum BLE_STATUS_ENUM{
	BLE_CONNECTING = 0,
	BLE_CONNECTED
};

struct RC_VALUE_STRUCT{
    uint16_t rc_data[4];
};

struct CAR_VALUE_STRUCT{
    double angle;
    double MagAngle;
};
void send_cat_value_status(void);

void StartBleTask(void const *argument);
void ble_send(uint8_t *data,uint16_t length);
void send_bd_gps_status(void);
void receive_uart_data(uint8_t *receive_buffer, uint16_t receive_len);

#endif